import { crud } from '@xtail/pouchdb'
import { PathConst } from '@xtail/electron'

export const [
  ,
  ,
  saveScriptNodeConfs,
  findScriptNodeConfs,
  ,
  removeScriptNodeConfsByIds,
  removeScriptNodeConfs
] = crud({
  dbName: 'script-node-conf.db',
  dbPath: PathConst.UserData()
})
